<?php if (!defined('THINK_PATH')) exit();?><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="/tpxbb/Public/css/styles.css" />
 </head>
 
<body>
<table border="1" cellspacing="0" cellpadding="0"  class="altrowstable" id="alternatecolor">
<tr >
 <th><a href="<?php echo U('order/index');?>">首页</a></th>
  <th><a href="<?php echo U('shop/index');?>">平台店面</a></th>
  <th><a href="<?php echo U('wm/dingdan');?>">订单列表</a></th>
 <th><a href="<?php echo U('order/list');?>">最新数据</a></th>
 <th><a href="<?php echo U('order/getdata');?>"> 更新闪送数据</a></th>
 <th><a href="<?php echo U('order/dealdata');?>"> 处理闪送数据</a></th>
 <th> 地图配置</th> 
  <th><a href="<?php echo U('wm/baidu');?>">上传百度数据</a></th>
</tr>
</table>

<a href="<?php echo U('shop/plat');?>">平台管理</a>
<a href="<?php echo U('shop/dm');?>">店面管理</a></br>

</br></br>
平台列表：</br>
<table border="1" cellspacing="0" cellpadding="0"  class="altrowstable" id="alternatecolor">
<tr >
 <td>序号 </td><td>平台名称</td><td> 关键字 </td><td> 联系人</td><td> 手机号 </td><td>备注</td><td>修改日期</td> <td>操作</td><td></td>
</tr>
<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$arr): $mod = ($i % 2 );++$i;?><tr>
 <td><?php echo ($i); ?> </td>
 <td><?php echo ($arr["name"]); ?></td>
 <td><?php echo ($arr["ptid"]); ?></td>
 <td> <?php echo ($arr["manager"]); ?></td>
 <td> <?php echo ($arr["mobile"]); ?></td> 
  <td> <?php echo ($arr["memo"]); ?></td> 
  <td> <?php echo ($arr["date"]); ?></td> 
   <td><a href="<?php echo U('shop/update',array('id'=>$arr[id]));?>">修改</a></td> 
    <td><a href="<?php echo U('shop/plat',array('op'=>'del','id'=>$arr[id]));?>"> 删除</a></td> 
</tr><?php endforeach; endif; else: echo "" ;endif; ?>
</table>

新建平台：</br>

<form action="/tpxbb/shop/plat"  method="post" >
<table border="1" cellspacing="0" cellpadding="0"  class="altrowstable" id="alternatecolor">

<tr>
<td>平台关键字：</td><td><input type="text" name="ptid"  value=""/> </td>
</tr>
<tr>
<td>平台名称：</td><td><input type="text" name="name"  value=""/> </td>
</tr>
<tr>
<td>平台经理：</td><td><input type="text" name="manager" value="" /> </td>
</tr>
<tr>
<td>手机：</td><td><input type="text" name="mobile" /> </td>
</tr>
<tr>
<td>备注：</td><td><input type="text" name="memo" /> </td>
</tr>
<tr>
<td></td><td><input type="submit" value="新增" > </td>
</tr>


</table>
</form>



 
</body>
</html>